import { useCookies } from '@vueuse/integrations/useCookies'

const cookies = useCookies()

// 添加数据 

export const addcookies = (cookiesname,cookiesvalue)=>{
    return cookies.set(cookiesname,cookiesvalue);
}
// 删除数据
export const removecookies = (cookiesname)=>{
    return cookies.remove(cookiesname);
}
// 获取数据
export const getcookies = (cookiesname)=>{
    return cookies.get(cookiesname);
}
